//
//  YWMonitorAlarmManager.h
//  maintain
//
//  Created by 烟雨云渊 on 17/1/10.
//  Copyright © 2017年 ewin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YWSingleton.h"

@class YWMonitorAlarmModel;

@interface YWMonitorAlarmManager : NSObject
YWSingletonH(Manager)

/**
 *  更新监控报警表，数组更新
 *
 *  @param MonitorAlarmArray 更新监控报警表数组
 *
 *  @return 结果
 */
- (BOOL)updateMonitorAlarmWithArray:(NSArray*)MonitorAlarmArray;
/**
 *  获取监控报警表
 *
 *  @param page 页数
 *
 *  @return 结果
 */
- (NSArray*)monitorAlarmArrayWithPage:(NSInteger)page;
#pragma mark -- 运行参数表的更新、取值
/**
 *  更新运行参数表，数组更新
 *
 *  @param fieldArray 更新运行参数表数组
 *
 *  @return 结果
 */
- (BOOL)updateMonitorFieldWithArray:(NSArray*)fieldArray;

#pragma mark - 网络请求
/**
 *  请求监控报警
 *
 *  @return 结果
 */
- (void)requestMonitorAlarmWithPage:(NSInteger)page pageSize:(NSInteger)pageSize WithComplete:(void(^)(BOOL success))complete;
@end
